package com.muyu.danmo.domain;


import com.muyu.common.core.annotation.Excel;
import com.muyu.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 画廊与类型关联对象 danmo_gallery_details_type
 *
 * @author yangle
 * @date 2024-10-23
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DanmoGalleryDetailsType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 画廊与类型关联id */
    private Long id;

    /** 画廊id */
    @Excel(name = "画廊id")
    private Long galleryId;

    /** 画廊类型 */
    @Excel(name = "画廊类型")
    private Long typeId;

//    public void setId(Long id)
//    {
//        this.id = id;
//    }
//
//    public Long getId()
//    {
//        return id;
//    }
//    public void setGalleryId(Long galleryId)
//    {
//        this.galleryId = galleryId;
//    }
//
//    public Long getGalleryId()
//    {
//        return galleryId;
//    }
//    public void setTypeId(Long typeId)
//    {
//        this.typeId = typeId;
//    }
//
//    public Long getTypeId()
//    {
//        return typeId;
//    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("galleryId", getGalleryId())
            .append("typeId", getTypeId())
            .toString();
    }
}
